<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:include="common/head :: head"></head>

<body class="gray-bg">

<div class="middle-box text-center loginscreen  animated fadeInDown">
  <div>
    <div>

      <h1 class="logo-name">房</h1>

    </div>
    <h3>欢迎使用 尚好房平台管理系统</h3>

    <form class="m-t" role="form" th:action="@{/login}" method="post">
      <label style="color:red;" th:if="${param.error}" th:text="用户名或密码错误"></label>
      <div class="form-group">
        <input type="text" name="username" value="admin" class="form-control" placeholder="用户名" required="">
      </div>
      <div class="form-group">
        <input type="password" name="password" value="123456" class="form-control" placeholder="密码" required="">
      </div>
      <button type="submit" class="btn btn-primary block full-width m-b">登 录</button>


      <p class="text-muted text-center"> <a href="javascript:"><small>忘记密码了？</small></a> | <a href="javascript:">注册一个新账号</a>
      </p>

    </form>
  </div>
</div>

</body>

</html>